﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Eurodancelux.Products.dal;

namespace Eurodancelux.Products.Repositories
{
    public class ProductRepository
    {
        ProductDataContext dc = new ProductDataContext();
        
        public IList<Product> GetAll()
        {
            //return (from p in dc.Products where p.ID == 1 select p).ToList();
            return (from p in dc.Products select p).ToList();
        }
    }
}